.rectangle {
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 150px;
  color: #121621;
  margin: auto;
  position: absolute;
}

.rectangle:hover {
  border: 1px solid #2f54eb;
}

.resize-handle-top,
.resize-handle-bottom {
  position: absolute;
  cursor: row-resize;
  height: 5px;
  width: 100%;
}

.resize-handle-top {
  top: 0;
}

.resize-handle-bottom {
  bottom: 0;
}

.resize-handle-left,
.resize-handle-right {
  position: absolute;
  height: 100%;
  cursor: col-resize;
  bottom: 0.1px;
  width: 5px;
}

.resize-handle-left {
  left: 0;
}

.resize-handle-right {
  right: 0;
}

.editable-cell {
  position: relative;
  padding: 5px 12px;
  cursor: pointer;
}

.editable-row:hover .editable-cell {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 4px 11px;
}
